package com.lcl.stock.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName StockInfoConfig
 * @Description TODO:定义股票相关的值对象封装
 * @Author 28901
 * @Date 2025/2/24 17:21
 * @Version 1.0
 */
@ApiModel(description = "定义股票相关的值对象封装")
@ConfigurationProperties(prefix = "stock")
@Data
//@Component // 直接配置到ioc容器中，不推荐。推荐：谁用谁配置。
public class StockInfoConfig {
    //A股大盘ID集合
    @ApiModelProperty(value = "A股大盘ID集合", position = 1)
    private List<String> inner;
    //外盘ID集合
    @ApiModelProperty(value = "外盘ID集合", position = 2)
    private List<String> outer;
    //股票涨幅区间标题集合
    @ApiModelProperty(value = "股票涨幅区间标题集合", position = 3)
    private List<String> upDownRange;
}